using System;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ClassInterface, Guid("80e509dd-2184-4bbd-b9ca-e8309e6d1083"), ProgId("BMC.ARSystem.SetFieldsFromSQL")]
	public class SetFieldsFromSQL : SetFieldsAction
	{
		[ARStructMemTypeInfo(Name = "sqlCommand", Offset = 1u)]
		private string _sqlCommand;
		[ARStructMemTypeInfo(Name = "noMatchOption", Offset = 3u)]
		private uint _noMatchOption;
		[ARStructMemTypeInfo(Name = "multiMatchOption", Offset = 4u)]
		private uint _multiMatchOption;
		public string SqlCommand
		{
			get
			{
				return this._sqlCommand;
			}
			set
			{
				this._sqlCommand = value;
			}
		}
		public uint NoMatchOption
		{
			get
			{
				return this._noMatchOption;
			}
			set
			{
				this._noMatchOption = value;
			}
		}
		public uint MultiMatchOption
		{
			get
			{
				return this._multiMatchOption;
			}
			set
			{
				this._multiMatchOption = value;
			}
		}
		public SetFieldsFromSQL()
		{
		}
		internal SetFieldsFromSQL(object[] rawData, Server server) : base(rawData, server)
		{
		}
		internal static object ToVariant(object given, Server server)
		{
			if (!(given is SetFieldsAction))
			{
				return given;
			}
			object obj = SetFieldsAction.ToVariant(given, server);
			return (object[])obj;
		}
	}
}
